export default {
	state: {
		appUpdate: false,
		appUpdateInfo: {},
        
        seatNumType:0, //坐席任务类型类型，0任务，1号码池
		callNextType:'call', //呼叫下一个方式   call,back,sip
	},
	mutations: {
		setAppUpdate(state, data) {
			state.appUpdate = data;
		},
		setAppUpdateInfo(state, data) {
			state.appUpdateInfo = data;
		},
        
        setSeatNumType(state, data) {
        	state.seatNumType = data;
        },
		
		setCallNextType(state, data) {
			state.callNextType = data;
		},
		
	},
	actions: {
		setAppUpdate({commit}, data) {
			commit('setAppUpdate', data);
		},
		setAppUpdateInfo({commit}, data) {
			commit('setAppUpdateInfo', data);
		},
        
        setSeatNumType({commit}, data) {
        	commit('setSeatNumType', data);
        },
		
		setCallNextType({commit}, data) {
			commit('setCallNextType', data);
		}
	
	}
}